<%--
  Created by IntelliJ IDEA.
  User: yanxiu
  Date: 2017/12/3
  Time: 16:01
  To change this template use File | Settings | File Templates.
--%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>wms</title>
    <link href="/static/plugins/bootstrap/css/bootstrap.css" rel="stylesheet"/>
    <link href="/static/plugins/bootstrap-table/bootstrap-table.css" rel="stylesheet"/>
    <link rel="stylesheet" href="/static/plugins/layui/css/layui.css">
    <link rel="stylesheet" href="/static/css/common.css">

    <style>
        .myLabel {
            font-size: larger;
        }

        .box-padding-15 {
            padding: 15px;
        }

        .searchButton {
            background-color: #009688;
            color: white;
            font-family: Aparajita;
            font-size: larger;
            font-weight: bolder;
            border-radius: 4px;
            letter-spacing: 5px;
        }

        #container {
            position: relative;
            left: 270px;
        }

        .layui-col-lg5 input {
            border: none;
        }

        .layui-col-lg5 td {
            border: solid 1px #cccccc;
            width: 378px;
            height: 80px;
            cellspacing: "0";
            cellpadding: "0";
        }

        .table1 {
            border-bottom: solid 1px #cccccc;
        }

        .layui-side{
           height: 125px;
            background: wheat;
        }
    </style>
</head>

<body>

<div class="layui-box box-padding-15">
    <div class="box-padding-15">
<span class="layui-breadcrumb">
  <a href="/" target="_top">首页</a>
  <a href="javascript:;">系统管理</a>
  <a><cite>运行模式设置</cite></a>
</span>
    </div>
<%--<div class="layui-side ">--%>
    <%--<div class="layui-side-scroll" >--%>
        <%--<!-- 左侧导航区域（可配合layui已有的垂直导航） -->--%>
        <%--<ul class="layui-nav layui-nav-tree"  lay-filter="nav-tree">--%>
            <%--<li class="layui-nav-item">--%>
                <%--<a class="" href="javascript:;">出货方式</a>--%>
                <%--<dl class="layui-nav-child">--%>
                    <%--<dd data-uri="/return/shouchu"><a href="javascript:;" >手动出货</a></dd>--%>
                    <%--<dd data-uri="/return/zichu" ><a href="javascript:;">自动出货</a></dd>--%>
                <%--</dl>--%>
            <%--</li>--%>
        <%--</ul>--%>
    <%--</div>--%>
<%--</div>--%>
<div class="box-form">
    <form class="layui-form "  method="post"  id="formi">
        <div class="layui-form-item">
            <div class="layui-input-block">

                <button class="layui-btn"  id="btn" >自动</button>

            </div>
        </div>
    </form>
</div>

<div class="box-form">
    <form class="layui-form "  method="post"  id="formid">
<div class="layui-form-item">
    <div class="layui-input-block">
        <button class="layui-btn"  id="b">手动</button>

    </div>
</div>
    </form>
</div>
</div>





<script src="/static/plugins/jquery-3.2.1.min.js"></script>
<script src="/static/plugins/bootstrap/js/bootstrap.js"></script>
<script src="/static/plugins/bootstrap-table/bootstrap-table.js"></script>
<script src="/static/plugins/bootstrap-table/bootstrap-table-zh-CN.js"></script>
<script src="/static/plugins/layui/layui.js"></script>

<script>
    layui.use(['element', 'layer', 'form', 'laydate', 'table'], function () {
        var layer = layui.layer;
        //定义表格
        var element = layui.element; //导航的hover效果、二级菜单等功能，需要依赖element模块
        var form = layui.form;
        var laydate = layui.laydate;
        var table = layui.table;


        //监听提交
        form.on('submit(formDemo)', function (data) {
            var fields = data.field;
            return false; //阻止表单跳转。如果需要表单跳转，去掉这段即可。
        });




    });

    $("#btn").click(function () {
        alert("自动模式已启动！")
    })

    $("#b").click(function () {
        alert("设置成功，当前程序以手动模式运行！")
    })


</script>

</body>
</html>
